package com.teach.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class User {

	private Long userId;
	private String userName;
	private Boolean userSex;
	@JsonFormat(pattern = "yyyy年MM月dd日")
	private Date userBrithdate;
	
	
	
	public User() {
		super();
	}
	public User(Long userId, String userName, Boolean userSex, Date userBrithdate) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userSex = userSex;
		this.userBrithdate = userBrithdate;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Boolean getUserSex() {
		return userSex;
	}
	public void setUserSex(Boolean userSex) {
		this.userSex = userSex;
	}
	public Date getUserBrithdate() {
		return userBrithdate;
	}
	public void setUserBrithdate(Date userBrithdate) {
		this.userBrithdate = userBrithdate;
	}
	
	
}
